import request from "@/api/request.ts";

export const login = (data: object) => request({url: `/users/login/`, method: 'post', data});


export const logout = (params: object) => request({url: `/users/logout/`, method: 'get', params})